package com.jzo2o.market.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 派单配置
 *
 * @author itcast
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "market.system")
public class MarketSystemProperties {
    /**
     * 业务系统列表
     */
    private List<System> systemList;

    @Data
    public static class System {
        /**
         * 业务系统id
         */
        private Long id;

        /**
         * 业务系统名称
         */
        private String name;
    }
}
